package com.luxuewen.sxa.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.luxuewen.sxa.entity.SxaUsers;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.luxuewen.sxa.entity.response.UserListRes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author wen
* @description 针对表【sxa_users】的数据库操作Mapper
* @createDate 2023-11-01 16:17:09
* @Entity com.luxuewen.sxa.entity.SxaUsers
*/
public interface SxaUsersMapper extends BaseMapper<SxaUsers> {
    UserListRes userInfo (@Param(Constants.WRAPPER) QueryWrapper<SxaUsers> wrapper);

    Page<UserListRes> userList (Page<UserListRes> page, @Param(Constants.WRAPPER) QueryWrapper<SxaUsers> wrapper);

//    Page<SxaUsers> userTest (Page<SxaUsers> page, @Param(Constants.WRAPPER) QueryWrapper<SxaUsers> wrapper);

}




